<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>P92 5.2.2 访问对象成员</title>
</head>
<body>
    <script>
        var o5={};
        o5.name='Jack';
        o5.introduce=function(){
            alert('My name is'+this.name);
        }
        alert(o5.name);
        o5.introduce();
        var o6={};
        var key='id';
        o6[key]=123;
    </script>
   
</body>
</html>